<ion-view view-title="银行账户管理" class="banklist" ng-class="{'shop':issue_type==2}">
	<ion-nav-bar ng-class="baseclass">
		<ion-nav-back-button></ion-nav-back-button>
	</ion-nav-bar>
	
	<ion-content class="has-header has-footer bg">
		<ion-scroll direction="y" ng-style="" lazy-scroll>
			<!--描述：下拉刷新-->
			<ion-refresher pulling-text="下拉刷新..." on-refresh="doRefresh()"></ion-refresher>
			<div class="list">
				<li class="item noData" ng-if="firstHide&&!datas.bank">
					<img src="./img/guilin/other/no-card@2x.png" />
					<div class="tip">还没有银行卡</div>
					<div class="smallTip">赶快添加吧！</div>
				</li>
				
				
				<li class="item brankItem" ng-repeat-start="bank in datas.bank" on-tap="onshow_add(bank.id)">
					<div class="row brand">
						<div>{{bank.bank_name}}</div>
						<div class="col ellipsis rightText">{{bank.bank_no}}</div>
					</div>
					<div class="row padding-0 brandUser">
						<div>{{bank.account_name}}</div>
						<div class="col padding-0 ellipsis text-right">{{bank.phone}}</div>
					</div>
				</li>
				<!--按钮-->
				<li class="item btnItem" ng-repeat-end="">
					<img ng-if="issue_type==1" src="{{bank.def_bank?'./img/guilin/common/icon_checked_r@2x.png':'./img/guilin/common/icon_uncheck_r@2x.png'}}" on-tap="set_default(bank.id)"/>
					<img ng-if="issue_type==2" src="{{bank.def_bank?'./img/guilin/common/icon_checked_b@2x.png':'./img/guilin/common/icon_uncheck_b@2x.png'}}" on-tap="set_default(bank.id)"/>
					默认使用
					<div class="basebtn del" on-tap="delete_button(bank.id)">删除</div>
					<div class="basebtn edit" on-tap="onshow_add(bank.id)">编辑</div>
				</li>
			</div>

			<!--描述：当用户到达页脚或页脚附近时-->
			<ion-infinite-scroll ng-if="!isLoad" immediate-check="false" on-infinite="doRefreshMore()" distance="1%"></ion-infinite-scroll>
		</ion-scroll>
	</ion-content>
	
	<div class="bar bar-footer">
		<div class="addBtn" on-tap="onshow_add()">添加银行卡</div>
	</div>
</ion-view>